package top.ajunnihao.core.web.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 * 路由转发 Controller - Admin
 * </p>
 *
 * @author AJun
 * @since 2020/7/2
 */
@Controller
@RequestMapping("/admin")
public class AdminRouterController {

    @GetMapping("/login")
    public String login() {
        return "admin/login";
    }

    @GetMapping("/api")
    public String api() {
        return "admin/api";
    }

    @GetMapping("/db")
    public String druid() {
        return "admin/druid";
    }

}
